<template>
  <div class="outer-wrap">
    <div class="content" :class="`${classPrefix}-content`">
      <slot></slot>
    </div>
    <!--    底部导航-->
    <Nav></Nav>
  </div>
</template>

<script>
export default {
  name: "Layout",
  props:["classPrefix"]
}
</script>

<style lang="scss" scoped>
.outer-wrap {
  display: flex;
  height: 100vh;
  flex-direction: column;
}

.content {
  flex-grow: 1;
  overflow: auto;
}

</style>